/*
* Configuration of module: CanTp
*
* Created by:   qinminyuan
* Copyright:    (C)  
*
* Configured for (MCU):    MCU
*
* Module vendor:           ArcCore
* Generator version:       01.00
*/
#ifndef CANTP_CFG_H_
#define CANTP_CFG_H_

//#include "SchM_cfg.h"
#include "CanTp_Types.h"

#define CANTP_CONVERT_MS_TO_MAIN_CYCLES(x)     MIAN_FUNCTION_MS2TICKS(CANTP,x)

#define CANTP_NSDU_CONFIG_LIST_SIZE 3
#define CANTP_NSDU_RUNTIME_LIST_SIZE 3
#define CANTP_RXID_LIST_SIZE 3

#define FRTP_CANCEL_TRANSMIT_REQUEST     STD_OFF
#define CANTP_VERSION_INFO_API STD_OFF   /**< Build version info API */
#define CANTP_DEV_ERROR_DETECT STD_OFF

/* CanTp Rx NSdu Id */
#define CANTP_ID_Phys_DiagRx                      0
#define CANTP_ID_Func_DiagRx                      1

/* CanTp Tx NSdu Id */
#define CANTP_ID_Phys_DiagTx                      2
extern const CanTp_ConfigType CanTpConfig;
extern const CanTp_NSduType CanTpNSduConfigList[];
extern const CanTp_RxIdType CanTp_RxIdList[];

#endif

